package com.example.yingjiguanli_demo.service;

import com.example.yingjiguanli_demo.pojo.MentorProfiles;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.yingjiguanli_demo.pojo.Result;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 导师详细信息表 服务类
 * </p>
 *
 * @author scj
 * @since 2024-12-07
 */
public interface IMentorProfilesService extends IService<MentorProfiles> {
    // 上传导师信息并保存，包括头像上传
    void uploadMentorProfile(String sessionId,String bio,String mentorName, String researchFields, String contactInfo, MultipartFile profilePicture);

    //获取导师信息列表
    Result<List<MentorProfiles>> getMentorProfile();

    //根据导师id获取导师信息
    MentorProfiles getMentorProfileById(String id);
    // 获取导师头像
    byte[] getProfilePicture(String fileName);
}
